.TH "nvme_mi_admin_get_log_media_unit_stat" 9 "nvme_mi_admin_get_log_media_unit_stat" "June 2023" "libnvme API manual" LINUX
.SH NAME
nvme_mi_admin_get_log_media_unit_stat \- Retrieve Media Unit Status
.SH SYNOPSIS
.B "int" nvme_mi_admin_get_log_media_unit_stat
.BI "(nvme_mi_ctrl_t ctrl "  ","
.BI "__u16 domid "  ","
.BI "struct nvme_media_unit_stat_log *mus "  ");"
.SH ARGUMENTS
.IP "ctrl" 12
Controller to query
.IP "domid" 12
Domain Identifier selection, if supported
.IP "mus" 12
User address to store the Media Unit statistics log
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.
